44 citations · 155 across the 16 of their papers we have counts for
17 papers
Formalizing with Named Tensor Notation
Yafei Yang, Chung-chieh Shan
Einstein notation () is a widely adopted tensor operation that has proven useful in areas such as machine learning and quantum computing. But it had no formal sema…
All for one and none forall: Compiling polymorphic relations without monomorphization
Dmitri Volkov, Yafei Yang, Chung-Chieh Shan
We present a new approach for implementing polymorphism for bottom-up relational languages that avoids monomorphization. We begin by introducing semiringKanren, a bottom-up weighte…
Committing to the bit: Relational programming with semiring arrays and SAT solving
Dmitri Volkov, Yafei Yang, Chung-chieh Shan
We propose semiringKanren, a relational programming language where each relation expression denotes a semiring array. We formalize a type system that restricts the arrays to finite…
Exact Recursive Probabilistic Programming
David Chiang, Colin McDonald, Chung-chieh Shan
Recursive calls over recursive data are useful for generating probability distributions, and probabilistic programming allows computations over these distributions to be expressed…
Translating Recursive Probabilistic Programs to Factor Graph Grammars
David Chiang, Chung-chieh Shan
It is natural for probabilistic programs to use conditionals to express alternative substructures in models, and loops (recursion) to express repeated substructures in models. Thus…
Sham: A DSL for Fast DSLs
Rajan Walia, Chung-chieh Shan, Sam Tobin-Hochstadt
Domain-specific languages (DSLs) are touted as both easy to embed in programs and easy to optimize. Yet these goals are often in tension. Embedded or internal DSLs fit naturally wi…
From high-level inference algorithms to efficient code
Rajan Walia, Praveen Narayanan, Jacques Carette +2
Probabilistic programming languages are valuable because they allow domain experts to express probabilistic models and inference algorithms without worrying about irrelevant detail…
Composing inference algorithms as program transformations
Robert Zinkov, Chung-chieh Shan
Probabilistic inference procedures are usually coded painstakingly from scratch, for each target model and each inference algorithm. We reduce this effort by generating inference p…
Monolingual Probabilistic Programming Using Generalized Coroutines
Oleg Kiselyov, Chung-chieh Shan
Probabilistic programming languages and modeling toolkits are two modular ways to build and reuse stochastic models and inference procedures. Combining strengths of both, we expres…
Proceedings IFIP Working Conference on Domain-Specific Languages
Olivier Danvy, Chung-chieh Shan
This volume is the proceedings of the second IFIP Working Conference on Domain-Specific Languages (DSL 2011). It contains 2 abstracts of invited presentations, 7 peer-reviewed arti…
Polarity sensitivity and evaluation order in type-logical grammar
Chung-chieh Shan
We present a novel, type-logical analysis of_polarity sensitivity_: how negative polarity items (like "any" and "ever") or positive ones (like "some") are licensed or prohibited. I…
Delimited continuations in natural language: quantification and polarity sensitivity
Chung-chieh Shan
Making a linguistic theory is like making a programming language: one typically devises a type system to delineate the acceptable utterances and a denotational semantics to explain…
Question answering: from partitions to Prolog
Balder D. ten Cate, Chung-chieh Shan
We implement Groenendijk and Stokhof's partition semantics of questions in a simple question answering algorithm. The algorithm is sound, complete, and based on tableau theorem pro…
The partition semantics of questions, syntactically
Chung-chieh Shan, Balder D. ten Cate
Groenendijk and Stokhof (1984, 1996; Groenendijk 1999) provide a logically attractive theory of the semantics of natural language questions, commonly referred to as the partition t…
A continuation semantics of interrogatives that accounts for Baker's ambiguity
Chung-chieh Shan
Wh-phrases in English can appear both raised and in-situ. However, only in-situ wh-phrases can take semantic scope beyond the immediately enclosing clause. I present a denotational…
A variable-free dynamic semantics
Chung-chieh Shan
I propose a variable-free treatment of dynamic semantics. By "dynamic semantics" I mean analyses of donkey sentences ("Every farmer who owns a donkey beats it") and other binding a…
Monads for natural language semantics
Chung-chieh Shan
Accounts of semantic phenomena often involve extending types of meanings and revising composition rules at the same time. The concept of monads allows many such accounts -- for int…