Local inference