<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.formulasearchengine.com/index.php?action=history&amp;feed=atom&amp;title=Complexity_of_constraint_satisfaction</id>
	<title>Complexity of constraint satisfaction - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://en.formulasearchengine.com/index.php?action=history&amp;feed=atom&amp;title=Complexity_of_constraint_satisfaction"/>
	<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/index.php?title=Complexity_of_constraint_satisfaction&amp;action=history"/>
	<updated>2026-04-09T01:43:05Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0-wmf.28</generator>
	<entry>
		<id>https://en.formulasearchengine.com/index.php?title=Complexity_of_constraint_satisfaction&amp;diff=13281&amp;oldid=prev</id>
		<title>en&gt;Helpful Pixie Bot: Dated {{No footnotes}}. (Build p613)</title>
		<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/index.php?title=Complexity_of_constraint_satisfaction&amp;diff=13281&amp;oldid=prev"/>
		<updated>2011-08-15T17:55:22Z</updated>

		<summary type="html">&lt;p&gt;Dated {{No footnotes}}. (Build p613)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{context|date=June 2012}}&lt;br /&gt;
In [[computer science]], the &amp;#039;&amp;#039;&amp;#039;inside–outside algorithm&amp;#039;&amp;#039;&amp;#039; is a way of re-estimating production probabilities in a [[probabilistic context-free grammar]]. It was introduced [[James K. Baker]] in 1979 as a generalization of the [[forward–backward algorithm]] for parameter estimation on [[hidden Markov model]]s to [[stochastic context-free grammar]]s. It is used to compute expectations, for example as part of the [[expectation–maximization algorithm]] (an unsupervised learning algorithm).&lt;br /&gt;
&lt;br /&gt;
==Inside and outside probabilities==&lt;br /&gt;
The inside probability &amp;lt;math&amp;gt;\beta_j(p,q)&amp;lt;/math&amp;gt; is the total probability of generating words &amp;lt;math&amp;gt;w_p \cdots w_q&amp;lt;/math&amp;gt;, given the root nonterminal &amp;lt;math&amp;gt;N^j&amp;lt;/math&amp;gt; and a grammar &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt;:&amp;lt;ref name=&amp;quot;manning-schuetze1999&amp;quot;&amp;gt;{{cite book |first=Christopher D. | last=Manning | coauthor=Hinrich Schütze |title=Foundations of Statistical Natural Language Processing |publisher=MIT Press | location=Cambridge, MA, USA | year=1999 |isbn=0-262-13360-1 | pages=388–402}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\beta_j(p,q) = P(w_{pq}|N^j_{pq}, G)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The outside probability &amp;lt;math&amp;gt;\alpha_j(p,q)&amp;lt;/math&amp;gt; is the total probability of beginning with the start symbol &amp;lt;math&amp;gt;N^1&amp;lt;/math&amp;gt; and generating the nonterminal &amp;lt;math&amp;gt;N^j_{pq}&amp;lt;/math&amp;gt; and all the words outside &amp;lt;math&amp;gt;w_p \cdots w_q&amp;lt;/math&amp;gt;, given a grammar &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt;:&amp;lt;ref name=&amp;quot;manning-schuetze1999&amp;quot;/&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\alpha_j(p,q) = P(w_{1(p-1)}, N^j_{pq}, w_{(q+1)m}|G)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
* J. Baker (1979): Trainable grammars for speech recognition. In J. J. Wolf and D. H. Klatt, editors, &amp;#039;&amp;#039;Speech communication papers presented at the 97th meeting of the Acoustical Society of America&amp;#039;&amp;#039;, pages 547–550, Cambridge, MA, June 1979. MIT.&lt;br /&gt;
* [[Karim Lari]], [[Steve J. Young]] (1990): The estimation of stochastic context-free grammars using the inside–outside algorithm. &amp;#039;&amp;#039;Computer Speech and Language&amp;#039;&amp;#039;, 4:35–56.&lt;br /&gt;
* [[Karim Lari]], [[Steve J. Young]] (1991): Applications of stochastic context-free grammars using the Inside–Outside algorithm. &amp;#039;&amp;#039;Computer Speech and Language&amp;#039;&amp;#039;, 5:237–257.&lt;br /&gt;
* Fernando Pereira, Yves Schabes (1992): Inside–outside reestimation from partially bracketed corpora. &amp;#039;&amp;#039;Proceedings of the 30th annual meeting on Association for Computational Linguistics, Association for Computational Linguistics&amp;#039;&amp;#039;, 128–135.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [http://www.cog.brown.edu/~mj/Software.htm An implementation of the algorithm by Mark Johnson]&lt;br /&gt;
* [http://faculty.washington.edu/fxia/courses/LING572/inside-outside.ppt Inside-outside algorithm - Fei Xia]&lt;br /&gt;
* [http://www.cs.columbia.edu/~mcollins/io.pdf The Inside-Outside Algorithm - Michael Collins]&lt;br /&gt;
&lt;br /&gt;
{{DEFAULTSORT:Inside-outside algorithm}}&lt;br /&gt;
[[Category:Parsing algorithms]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{algorithm-stub}}&lt;/div&gt;</summary>
		<author><name>en&gt;Helpful Pixie Bot</name></author>
	</entry>
</feed>